package com.feihong.yw189.model.User;

import android.support.annotation.DrawableRes;

/**
 * 定义几个字段,pullrecylerview时, set get使用
 * Created by PVer on 2017/12/20.
 */

public class MessageItem {
    public String title;
    public String subTitle;
    public String time;
    public String message;
    public String imgUrl;
    public int imageResId;
    private String order_sn;
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getImageResId() {
        return imageResId;
    }

    public void setImageResId(@DrawableRes int imageResId) {
        this.imageResId = imageResId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    @Override
    public String toString() {
        return "MessageItem{" +
                "title='" + title + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", time='" + time + '\'' +
                ", message='" + message + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", imageResId=" + imageResId +
                ", order_sn='" + order_sn + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
